package astnode;

import java.util.ArrayList;

public class CallNode extends IDFactorNode implements StmtNode {
	private ArrayList<ExpressionNode> arguements = new ArrayList<ExpressionNode>();
	
	public CallNode( int lineNum ) {
		super(lineNum);
	}
	
	

	public CallNode(IDStmtNode idStmtNode) {
		super( idStmtNode.getLineNum() );
		this.setIdentifier( idStmtNode.getIdentifier() );
	}

	public CallNode(IDFactorNode node) {
		super(node);
	}



	public ArrayList<ExpressionNode> getArguements(){
		return arguements;
	}


	public void addArguements( ExpressionNode node  ){
		arguements.add(node);
	}
}
